<template>
<button @click="clickbutton">改变message</button>
</template>
<script>
import eventBus from './utils/event-bus'
export default {
    methods: {
        clickbutton() {
            console.log("clickbutton")
            // 发送事件总线
            eventBus.emit("eventemit","小染",19)
        }
    }
}
</script>
<style scoped lang="less">

</style>